<template>
  <div class="resert_password">
    <van-sticky>
      <van-nav-bar title="重置密码" left-arrow @click-left="back" />
    </van-sticky>
    <div class="content">
      <div class="input_item row-between-center van-hairline--bottom">
        <label for="">密码</label>
        <input type="text" placeholder="请输入密码">
        <i class="icon_"></i>
      </div>
      <div class="input_item row-between-center van-hairline--bottom">
        <label for="">确认密码</label>
        <input type="text" placeholder="确认密码">
        <i class="icon_"></i>
      </div>
      <p class="tips">请设置6～12位（数字+字母）密码</p>
    </div>
    <div class="btn">确认</div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      chosenAddressId: '1',
    }
  },
  methods: {
    back () {
      window.history.go(-1)
    }
  }
}
</script>

<style lang="scss">
.resert_password {
  text-align: left;
  .content {
    padding: 0.96rem;
    .input_item {
      line-height: 1.5rem;
      font-size: 0.32rem;
      label {
        width: 1.4rem;
        font-size: 0.32rem;
      }
    }
  }
  .tips {
    font-size: 0.24rem;
    color: #999;
    line-height: 0.7rem;
  }
  .btn {
    width: 6.88rem;
    height: 0.91rem;
    line-height: 0.91rem;
    text-align: center;
    background: linear-gradient(
      96deg,
      rgba(72, 143, 240, 1),
      rgba(51, 130, 239, 1)
    );
    border-radius: 0.45rem;
    margin: 0 auto;
    color: #fff;
    font-size: 0.36rem;
  }
}
</style>